package com.lenovo.lcdm.team.service;

import com.lenovo.lcdm.team.entity.TeamGroup;
import com.lenovo.lcdm.team.entity.TeamGroupRole;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * User-Group Service
 * @author xujing30
 * @since 2023-12-22
 */
public interface ITeamGroupRoleService extends IService<TeamGroupRole> {

    /**
     * 保存组与角色关系
     * @param group
     * @param roleIds
     */
    void saveGroupRoles(TeamGroup group, List<Long> roleIds);

}
